Fix bug preventing tests from running against HSQL
Fix bug preventing tests from running against HSQL

Because of an oddity in how our test-db fixture works, the tests
related to import/export would work properly against a Postgres
test database but would fail against an HSQL one.  This change
simply corrects how I was going about determining the database
connection info in my catalog test utils so that it works with
either database.

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