Fixed bug in nodejs 0.10

In the new version of nodejs, arguments to path.relative() cannot be undefined.  I made a tiny two-line patch that fixes a bug I was encountering, thanks to this change in node's behavior.

Great library, by the way, thanks!