[MSBuild] Fixed a test that failed when the GAC wasn't available