docs: def get_resolved_program(program, config_obj):
      """
      Take a program that may be an alias for another program and return the
      resolved program.
  
      It only ever resolves a single level of aliasing, so does not support
      aliasing to an alias.
  
      Returns the original program if the program is not an alias.
      """
      alias_dict = get_alias_dict(config_obj)
      if program in alias_dict:
          return alias_dict[program]
      else:
          return program