Fix typo on puppetdb query