Fixes ZEN-15540

Fixes ZEN-15540
https://jira.zenoss.com/browse/ZEN-15540
if registry property not available then handle error