Node v0.10+ with Local Dependencies breaks with v0.16.4

When installing with local dependencies, I get the "arguments to path.resolve must be strings error" that was introduced with Node v0.10. This PR corrects this fatal error.