debian/rules: update the version safety check

To support Debian stable updates.