@Nullable
  private static FilePath getModuleRootFilePath(@NotNull Module module) {
    return ReadAction.compute(() -> {
      if (module.isDisposed()) return null;
      VirtualFile[] roots = ModuleRootManager.getInstance(module).getContentRoots();
      if (roots.length == 1) {
        return VcsUtil.getFilePath(roots[0]);
      }
      return VcsUtil.getFilePath(ModuleUtilCore.getModuleDirPath(module), true);
    });
  }
@Nullable
  private static FilePath getModuleRootFilePath(@NotNull Module module)