Prevent recursive file copies during release