code: def _remove_missing_dirs_for_index(index_dirs, name, path, dirs):
      if path not in index_dirs:
          dirs.remove(name)
  
imports: import fnmatch
  import logging
  import re
  import os
  from guild import cli
  from guild import run_manifest
  from guild import util
  from .None import remote_impl_support
  from .None import runs_impl
label_desc: Use image node_id 22 for calling a global function with example usage: _remove_missing_dirs_for_index(index_dirs, name, path, dirs) without return types