tools.ps1/sh might need to condition on whether the build is a product build or source-build. Tools.ps1/sh need to parse the $properties string array today which isn't great as not all repos set that. We should pass the -productBuild switch in when building the repos and then remove these code paths:
This became more important recently with the addition of the source-build condition on the NUGET_PACKAGES directory selection: https://github.com/dotnet/dotnet/blob/cdd3eef3e3053cb776f066fde7b2f5a2b7ebe886/src/arcade/eng/common/tools.sh#L63-L69