As discussed in https://github.com/dotnet/installer/pull/16005#issuecomment-1500588135 there is a missing null check that causes the sourcebuild build to fail.