public RepositoryConfigDto(RepositoryConfig config) {
     Name = config.Name;
     Uuid = config.Uuid;
     Remotes = config.Remotes.ToDictionary(x => x.Key,
         x => x.Value);
     Mode = config.OperationMode;
     UseVersionedPackageFolders = config.UseVersionedPackageFolders;
     KeepVersionsPerPackage = config.KeepVersionsPerPackage;
 }
 public RepositoryRemote() {
     Config = new RepositoryConfig();
     Index = new RepositoryStore();
 }