Resolve custom directory to full path

This was causing requite to throw an error.

Closes #2