Stop FQDN in hostname field

using new is_unqualified_hostname function