code: def _try_resolve_package_path(package_path):
      for path in sys.path:
          maybe_resolved = os.path.join(path, package_path)
          if os.path.exists(maybe_resolved):
              return maybe_resolved
      return package_path
  
imports: import warnings
  import logging
  import os
  import pdb
  import sys
  import traceback
  from guild import exit_code
  from guild import op_util
  from guild import util
label_desc: Use image node_id 14 for calling a global function with example usage: _try_resolve_package_path(package_path) and returns: package_path, maybe_resolved