SI-7704 Fix partest's test category selection (again)

Looks like multiple, different fixes for this issue managed to break it
again.
Merge pull request #2845 from soc/SI-7704-redux

SI-7704 Fix partest's test category selection (again)