code: def config_path(path):
      """Returns an absolute path for a config-relative path.
  
      Variable and user refs are resolved in path.
  
      If path is None, returns None.
      """
      if path is None:
          return None
      expanded = file_util.expand_path(path)
      config_dir = os.path.dirname(config.user_config_path())
      return os.path.abspath(os.path.join(config_dir, expanded))
  
imports: import logging
  import os
  import subprocess
  import sys
  from guild import config
  from guild import file_util
  from guild import log
  from guild import remote
  from guild import util
  from guild import var
label_desc: Use image node_id 9 for calling a global function with example usage: config_path(path) and returns: os, None