User exit code of "1" when path is not a Rails app

This was accidentally changed when switching away from using `abort` and towards using exceptions.

@noahd1, does this look okay?