fixes #6374 - NIC hostname now blank when domain is present, but no hostname is given
(cherry picked from commit fc2ddea769919c94fdffc7835cca84cfa2b19389)
fixes #6374 - NIC hostname now blank when domain is present, but no hostname is given
(cherry picked from commit fc2ddea769919c94fdffc7835cca84cfa2b19389)