Fix incorrect guard clause logic
Fix incorrect guard clause logic

Introduced in #1193

puppetlabs/puppetlabs-postgresql,buzzdeee/puppetlabs-postgresql,buzzdeee/puppetlabs-postgresql,puppetlabs/puppetlabs-postgresql,puppetlabs/puppetlabs-postgresql,buzzdeee/puppetlabs-postgresql