private static List<Path> getDependencyKmdFiles(CommandLine line) throws IOException {

    if (line.hasOption(DEPROM)) {

      String[] kmdPathNames = line.getOptionValues(DEPROM);

      List<Path> kmdFiles = PathUtils.getPaths(kmdPathNames, "*.kmd.json");

      if (kmdFiles.isEmpty()) {
        String paths = null;
        for (String path : kmdPathNames) {
          if (paths == null) {
            paths = path;
          } else {
            paths = paths + ":" + path;
          }
        }
        System.err.println("No dependency kmd files found in paths: " + paths);
        return Collections.emptyList();
      }

      return kmdFiles;

    } else {
      return Collections.emptyList();
    }
  }