code: def _do_get(cnf, get_path):
      
      (cnf, err) = API.get(cnf, get_path)
      if cnf is None:  # Failed to get the result.
          _exit_with_output("Failed to get result: err=%s" % err, 1)
  
      return cnf
docs: :param cnf: Configuration object to print out
      :param get_path: key path given in --get option
      :return: updated Configuration object if no error