Fix failing tests on site_yaml_file.rb

- Thanks to @rgarner for the `=~` tip, and https://github.com/alphagov/transition/commit/77ff1686c0271158f315bcbc851a032a141b0362.