fix get_python_licenses