add better dependency loading check
Merge pull request #104 from zenoss/bugfix/ZEN-13977

add better dependency loading check