Path (Project project) { final WslPath wslPath = WslPath.parseWindowsUncPath(getProjectPath(project)); if (wslPath != null) { Path buildDir = WslBuildCommandLineBuilder.getWslBuildSystemDirectory(wslPath.getDistribution()); if (buildDir != null) { return buildDir; } } return LocalBuildCommandLineBuilder.getLocalBuildSystemDirectory(); }