42bd4b2 seemingly introduced a bug where programs would not be run from
the shell even if they were in the current directory (for example, the
program `test/x.lua` would not run if you typed `x` while in the `test`
directory). This fixes that by moving the `return inPath()` part into
the big `return` statement at the end of `shell.resolvePath`.