dealing with the scenario for hypervisor that hostname may or may not co...

...ntain domain name
Should always set self.hostname to the hostname that was passed in (self.hostname = name)