code: def local_meta_dir(remote_name, key):
      base_dir = var.remote_dir(_safe_filename(remote_name))
      key_hash = hashlib.md5(key.encode()).hexdigest()
      return os.path.join(base_dir, "meta", key_hash)
  
imports: import hashlib
  import logging
  import os
  import re
  from guild import click_util
  from guild import cmd_impl_support
  from guild import remote
  from guild import util
  from guild import var
  from guild.commands import runs_impl
label_desc: Use image node_id 1 for calling a global function with example usage: local_meta_dir(remote_name, key) and returns: os