Paths must not be empty.

This must be done in resolve since Parrot changes a path to an absolute path by
prepending the CWD of the process.

Fixes #288.
Have Parrot return ENOENT on empty path.