Add more failsafes to deb repo build