Fixed error display on non puppetdb hosts