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.