Remove debug statements and fix error message
Remove debug statements and fix error message

This commit addresses feedback from the pull
request--had some errant debug statements
hanging around, and a bug in how I was
generating an error string.

jantman/puppetdb,cprice404/puppetdb,puppetlabs/puppetdb,github/puppetlabs-puppetdb,kbarber/puppetdb,highb/puppetdb,puppetlabs/puppetdb,kbrezina/puppetdb,grimradical/puppetdb,kbarber/puppetdb,kbrezina/puppetdb,wkalt/puppetdb,johnduarte/puppetdb,waynr/puppetdb,waynr/puppetdb,mullr/puppetdb,melissa/puppetdb,mullr/puppetdb,grimradical/puppetdb,mullr/puppetdb,rbrw/puppetdb,grimradical/puppetdb,grimradical/puppetdb,rbrw/puppetdb,highb/puppetdb,ajroetker/puppetdb,senior/puppetdb,melissa/puppetdb,senior/puppetdb,rbrw/puppetdb,jantman/puppetdb,johnduarte/puppetdb,cprice404/puppetdb,senior/puppetdb,wkalt/puppetdb,nfagerlund/puppetdb,waynr/puppetdb,mullr/puppetdb,cprice404/puppetdb,ajroetker/puppetdb,shrug/puppetdb,kbarber/puppetdb,wkalt/puppetdb,kbrezina/puppetdb,jantman/puppetdb,nfagerlund/puppetdb,github/puppetlabs-puppetdb,rbrw/puppetdb,puppetlabs/puppetdb,highb/puppetdb,johnduarte/puppetdb,ajroetker/puppetdb,nfagerlund/puppetdb,shrug/puppetdb,melissa/puppetdb,shrug/puppetdb,kbrezina/puppetdb,wkalt/puppetdb,senior/puppetdb,shrug/puppetdb,github/puppetlabs-puppetdb,kbarber/puppetdb,johnduarte/puppetdb,ajroetker/puppetdb,highb/puppetdb,puppetlabs/puppetdb,rbrw/puppetdb,waynr/puppetdb,mullr/puppetdb,puppetlabs/puppetdb