Use which's exit status directly.

Otherwise, we'd quit without an explicit error message due to the 'errexit'
option.
refs #97