Fix shell exit when no .gs is found.

Refs #2