Refactor the regions_by_hostname method to be simpler.
Refactor the regions_by_hostname method to be simpler.

ManageIQ/manageiq-providers-amazon,durandom/manageiq-providers-amazon,ManageIQ/manageiq-providers-amazon