Remove snet hosts file hack

A previous commit overlooked the fact that glance exposes
swift_store_endpoint_type, which allows us to specify publicURL,
internalURL, etc.  This change leverages that configuration option
which makes this change more generic so it can be used with other
non-RS swift installations.