#4013 deleting from publishing_bundle_environment first