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

PR #1229 added a test that relies on the GAC and fails when it isn't available, like when building on a clean machine with monolite. Skip the test in that case.

This should fix the test failure on http://jenkins.mono-project.com