added fix for relatively new puppetdb running on same host counting towards number of puppet instances