Rework hack to make sure images are tagged as latest
Commit 788aa27a "Debian commits" was introduced to base images directly on Debian while the Bullseye import in v2022dev2 is not complete enought to real Apertis build images.
Unfortunately it broke the ability to tag images as latest
.
Rework the hack so tagging works again.