Provide a clearer error msg if main not found

Otherwise you'll get a `Couldn't resolve path <base dir>` error message, which is both a lie and not representative of the underlying problem.

This is only thrown after checking for the default `app.js`, `server.js` and `index.js` files and not finding any of them.