Returning hostname only rather than whole FQDN