Failed version no longer terminates without output

Existing code relied on a nonzero return from grep, but `set -e`
means the whole script terminates in that case.
Merge pull request #19 from burke/patch-2

Failed version no longer terminates without output