fn check_package_with_registry(
pkg: &InstalledPackage,
native_exe_registry_entry_exists: impl Fn(&InstalledPackage) -> bool,
) -> Option<DiagnosisResult>fn check_package_with_registry(
pkg: &InstalledPackage,
native_exe_registry_entry_exists: impl Fn(&InstalledPackage) -> bool,
) -> Option<DiagnosisResult>