fixed python_package_ensure bug