fix order of assert statement
fix order of assert statement

This code is based on commits of the WhiteSource PS Team, esp. the authors: tamari-oz, NatalyaDalid, rammatzkvosky and DimarrWS. Thank you for your contribution!

Signed-off-by: Meret Behrens <6dea8ffdfb2060772ae2d8950689638c6e72ef42@tngtech.com>

spdx/tools-python