@Nullable
  private static RepositoryTreeNode findExistingNode(@NotNull RepositoryTreeNode node) {
    RepositoryTreeNode result = null;

    if (!node.isDisposed()) {
      result = node.getNodeWithSamePathUnderModelRoot();
    }

    return result == null || result.isDisposed() ? null : result;
  }
@Nullable
  private static RepositoryTreeNode findExistingNode(@NotNull RepositoryTreeNode node)