Fixes to Publish-DSCPullResources function