complain if hostname is empty