Make MappingsFromHostPaths use #each for a large array

* Was using #map, which would allocate a large array we didn't use
Merge pull request #242 from alphagov/mappings-from-host-paths-find-each

Make MappingsFromHostPaths use #each for a large array