Added defensiveness to NuGetGallery.xunit.targets