code: def _init_sys_path():
      if os.getenv("SCRIPT_DIR") is not None:
          sys.path[0] = os.getenv("SCRIPT_DIR")
      elif os.getenv("NO_SYS_PATH_MODIFY") != "1":
          # Remove cwd from Python path to rely on `PYTHONPATH` config
          # exclusively
          del sys.path[0]
  
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 4 for calling a global function with example usage: _init_sys_path() without return types