Possible fix for site start/stop/restart wiping out custom hostnames

Issue #397