[PATCH v2 OLK-5.10] spdxcheck.py: Fix a type error