protected String parseItemPath() throws MalformedURLException {

		String path = url.getPath();

		if (repositoryName == null) {
			if (!StringUtils.isEmpty(path) && !"/".equals(path)) {
				throw new MalformedURLException();
			}
			return null; // presumed server-only URL
		}

		// strip off repository name from path
		path = path.substring(repositoryName.length() + 1);

		path = initFolderItemPath(path);

		return path;
	}
Parse item path name from URL and establish initial values for folderPath and
folderItemName.
@return original item path from URL or null if not specified
@throws MalformedURLException if URL is invalid
Ghidra/Framework/Project/src/main/java/ghidra/framework/protocol/ghidra/GhidraProtocolConnector.java