Change default hostname assignment
If a servicegroup is specified leave the hostname empty, if it isn't and a hostname isn't explicitly specified get the system hostname.