(maint) Workaround PUP-7605
(maint) Workaround PUP-7605

Puppet is stringifying all resource titles in catalog.to_data_hash now, but
catalog.resource(type, title) can't accept string titles in all case. It special
cases :main, so apply the inverse special case here.

rbrw/puppetdb,mullr/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb,mullr/puppetdb,rbrw/puppetdb,rbrw/puppetdb,mullr/puppetdb,mullr/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb,mullr/puppetdb,rbrw/puppetdb,puppetlabs/puppetdb,rbrw/puppetdb