fixes #54

falls back on `hostname` if `hostname --fqdn` fails to produce results