setup: delete a package after a failed download

Delete a package after a failed download.