fix pkg_manager for python-apt 0.9