ZEN-14048: add check for dict before checking has_key()
Merge pull request #44 from zenoss/feature/ZEN-14048

ZEN-14048: add check for dict before checking has_key()
dealing with the scenario for hypervisor that hostname may or may not contain domain name
dealing with the scenario for hypervisor that hostname may or may not contain domain name
dealing with the scenario for hypervisor that hostname may or may not contain domain name