Fix issue introduced in #2619

#2619 broke `runTheMatrix.py` `--command` option, because the else statement below was misplaced.