private void validateRepositoryName(String[] args, int i, File rootDirFile) {
		if (args.length < (i + 1)) {
			displayUsage("Invalid usage, expected repository name");
			System.exit(-1);
		}
		String repName = args[i];
		File f = new File(rootDirFile, NamingUtilities.mangle(repName));
		if (!f.isDirectory()) {
			Msg.error(CommandProcessor.class, "Repository not found: " + repName);
			System.exit(-1);
		}
		if (repName.contains(" ")) {
			args[i] = "\"" + repName + "\"";
		}
	}
Validate existing repository name as command arg
@param args command args
@param i argument index
@param rootDirFile base repositories directory
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/ServerAdmin.java