Finish an incomplete fix so we don't get a NameError

Fixing https://jira.zenoss.com/browse/ZEN-13260

https://github.com/zenoss/zenoss-prodbin/commit/b60950f79d815bace2da7ba246eeb18b37f4f925 introduced this bug.