update-manager: Various fixes