The if comparisons can sometimes compare an empty variable, which gives errors like this:
```
/steps/run_tests.sh: line 71: [: =: unary operator expected
```
This PR should fix the script to address that problem.
See an explanation of why this error happens here:
https://codefather.tech/blog/bash-unary-operator-expected/