Simplify an "if" in ssh-basic.test. Fixes bug #6169;