manager.postinst: make sure the hostname is available