portage.exception.PortageException: Improve performance (at least with Python 3).