Improve resiliency on mismatches between git and upstream
Due to badly formatted tag the detection of updates in the dashboard was broken. The version in debian/bullseye was higher than the one actually in bullseye. This prevented the dashboard from reporting about pending updates. This commit reports error when the version in debian/buster or debian/bullseye is higher than the one in upstream buster/bullseye.