private void updatePathToRootMap() {
    myPathToRootMap.clear();
    for (VirtualFile root : myRepositories.keySet()) {
      myPathToRootMap.put(root.getPath(), root);
    }
    for (VirtualFile root : myExternalRepositories.keySet()) {
      myPathToRootMap.put(root.getPath(), root);
    }
  }
private void updatePathToRootMap()