Ensure correct version comparison

When cur_version=0~something.

(This is a corner case).
Merge branch 'patch-2' of https://github.com/sathieu/jenkins-debian-glue
build-and-provide-package: drop unused base_version handling

This seems to be dead code nowadays.