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

...ntain domain name
I believe that getObject will always return an object, never None.  Might want to check with the team on that one, but I think that's the case.  (in which case, you can skip the "if host"