Do not modify metaparams in place
Do not modify metaparams in place

This can have unexpected side effects and break other code that relies
on it. This takes a safer approach by iterating over it.

Fixes: dd88b1a4eee853cfff60b99096c05ce85a9d556e

puppetlabs/puppetlabs-concat