Only remove the internal tld when sedding

Our hosts file has aliases for each host without the internal tld. So there is 
no need to replace the internal tld we can just remove it.

Also make production the same as the other environments.

_This probably needs testing on a mac_