(maint) Dup collected resources PE test fix

Prior to this commit, the dup_collected_resources test did not work for
Puppet enterprise. This commit fixes that and now works.

Note: You need at least 3 nodes for this to work, otherwise it will be
skipped.