fix breakage introduced in apt 2.5.0