code:     public static File randomRepoPath(Settings settings) {
          Environment environment = new Environment(settings);
          File[] repoFiles = environment.repoFiles();
          assert repoFiles.length > 0;
          File path;
          do {
              path = new File(repoFiles[0], randomAsciiOfLength(10));
          } while (path.exists());
          return path;
      }
  
  