fix breakage introduced in apt 2.5.0
Merge pull request #85 from kisoku/fix_update

fix breakage introduced in apt 2.5.0