Fix faulty testing of 'booleans'.

Here I should have been testing exit code, not stringiness.