After introducing the arm-v7 build we are accidentally making debs and rpms with the architecture arm-v7. This fixes the problem by stripping the version off.