@Override
  public @Nullable VirtualFile getVcsRootFor(@Nullable FilePath file) {
    if (file == null || myProject.isDisposed()) {
      return null;
    }

    NewMappings.MappedRoot root = myMappings.getMappedRootFor(file);
    return root != null ? root.root : null;
  }
@Override
  public @Nullable VirtualFile getVcsRootFor(@Nullable FilePath file)