Fixing a bug which caused shells that haven't symlinked /bin/sh to
bash to crash.