Fix unit tests in py3 for tool.get_package_from_args()