Some cleanup of get_licenses.py