Bug 1128141 - HostController gets DOWN when name attribute in host.xml is
empty

Fallback to detect host name using on $HOSTNAME and others in case we don't
find it in host.xml