Bug fix for last commit (avoid AttributeError on apt_pkg.version_compare)