anchor.diff:            #{executable_path => "/usr/bin/cvmfs_receiver"},
         log_level => <<"info">>}.
   
  -
  +% Load the repository and user configuration
  +%
  +% Load the repository and user configuration from a configuration map.
  +% The output of the "config:read" function returns a configuration map
  +% that can be passed to this function.
   load(Cfg) ->
       load(Cfg, fun(K) -> load_key(K) end).
   
   
  +% Load the repository and user configuration using a specific
  +% key loading function
   load(Cfg, KeyLoader) ->
       RepoCfg = maps:get(repos, Cfg, []),
       KeyCfg = maps:get(keys, Cfg, []),
  
positive.code:          load/2]).
  
  
  read(VarName, Defaults) ->
      case application:get_env(VarName) of
          {ok, {file, ConfigFile}} ->
              read_config_file(ConfigFile);
          {ok, ConfigMap} ->
              ConfigMap;
          undefined ->
              Defaults
      end.
  
  
  
negative.code:     {ok, lists:map(AddDefaultKeyId, RepoCfg)}.
  
  
  process_keys(KeyCfg, Repos, KeyLoader) ->
      try lists:map(KeyLoader, KeyCfg) of
          SpecifiedKeys ->
              ProcessDefaultKey = fun(R, {AccRepos, AccKeys}) ->
  