Bugfix for shell command to check for Travis presence

It works on Travis, but not locally. Please forgive my lack of
shell foo.