String (@Nullable WSLDistribution distribution) { List<Detector> detectors = collectDetectors(distribution); String detectedPath = getExecutable(detectors); if (detectedPath != null) return detectedPath; return runUnderProgressIfNeeded(null, GitBundle.message("git.executable.detect.progress.title"), () -> detectExecutable(detectors)); }