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