Move the clean up logic to the packer.
Ensure the uploaded files were removed regardless of ngx
[#57595258]