public static bool IsLocalOrUncPath(this PackageSource packageSource) { return(packageSource.IsLocalPathSafe() || packageSource.IsUncPathSafe()); }