Set a sane default for hostname, using AWS hostnames, when available