Fix puppetdb test