Better workaround is to download newer python-apt from here [1] and install it manually
with dpkg. The guest agent seems to work OK with it.
https://run3az.com online There's
much less chance of breaking something else, also newer python-apt will be picked-up
automatically on upgrades.