Adapt to the PuppetDB 3.0.0 module changes

This patch fixes helper.rb so that our acceptance tests are compatible with
the new changes in the PuppetDB 3.0.0 module.

Signed-off-by: Ken Barber <ken@bob.sh>