public @Nullable Repository getRepositoryForRootQuick(@Nullable FilePath rootPath) {
    VirtualFile root = getVirtualFileForRoot(rootPath);
    if (root == null) return null;

    return getRepositoryForRoot(root, false);
  }
public @Nullable Repository getRepositoryForRootQuick(@Nullable FilePath rootPath)