Fix source build

This fixes source builds so that they work on 13.10, and so that the source build job fails if the generate_sourcedeb step exits nonzero.