Adapt upstream version prefix stripping for our fork

OT-1347

Adapted from upstream. Tested in dev (before no worky, after worky) by triggering a package update_carrier_events