anchor.diff:  
   
   default_repo_config() ->
  -    #{repos => [], keys => []}.
  +    #{version => 2, repos => [], keys => []}.
   
   
   default_user_config() ->
  
positive.code: get_repo_names(Repos) ->
      lists:map(fun(#{domain := Name}) -> Name end, Repos).
  
  %%% Tests
  
  load_repos_adds_default_keys_test() ->
  
negative.code: load(Cfg, KeyLoader) ->
      RepoCfg = maps:get(repos, Cfg),
      KeyCfg = maps:get(keys, Cfg),
  
      CfgVer = maps:get(version, Cfg, 1),
      case CfgVer of
          1 ->
              Keys = lists:map(KeyLoader, KeyCfg),
              {ok, RepoCfg, Keys};
          _ ->
              {ok, Repos} = load_repos(RepoCfg),
              {ok, UpdatedRepos, Keys} = load_keys(KeyCfg, Repos, KeyLoader),
              {ok, UpdatedRepos, Keys}
      end.
  
  
  -spec load_repos(RepoCfg) -> {ok, FixedRepoCfg}
  