Puppet: Adding check for copy being called