private static boolean useCustomPluginsPath(String originalPluginsPath) {
    String pathsSelector = PathManager.getPathsSelector();
    return pathsSelector != null && !isGenericJetBrainsClient(pathsSelector) &&
           originalPluginsPath.equals(PathManager.getDefaultPluginPathFor(pathsSelector));
  }
private static boolean useCustomPluginsPath(String originalPluginsPath)