Fix error reporting in the TidyMappingsTest

tools/tidy_mappings.pl is failing on OS X, but we couldn't see the
real failure because of this typo.
Merge pull request #242 from alphagov/fix-error-reporting

Fix error reporting in the TidyMappingsTest