Fixes ZEN-13580
no need for try
make sure db_name gets set
Merge pull request #279 from zenoss/feature/ZEN-13580

Fixes ZEN-13580