[PATCH v2 16/23] gitlab/azure: Drop unnecessary if..fi when using test.py