private static @Nullable WSLDistribution getProjectWslDistribution(@Nullable Project project) {
    if (project == null) return null;
    String basePath = project.getBasePath();
    if (basePath == null) return null;

    return WslPath.getDistributionByWindowsUncPath(basePath);
  }
private static @Nullable WSLDistribution getProjectWslDistribution(@Nullable Project project)