Disable and fix tests do not work with non-existent LastRuntimeFrameworkVersion
Fix https://github.com/dotnet/installer/issues/8203