Thanks for making me aware of the issue. I’d like to fix this issue for other Debian derivatives such as Linux Mint as well.
Would the following change work for you? VER_REVISION=$(shell echo $(firstword $(subst +, ,$(word 3,$(VERSION_DECOMPOSED)))) | sed 's/[^0-9]//g') Are there any other suffixes beside build and lowercase $(dpkg-vendor --query Vendor) followed by the revision number?

