Run only upgrade workflows for SHLC tests

I also simplified the logic for creating the runTheMatrix.py command.