prevent watch crash after npm install w/ custom config.paths

Confirmed this change prevents the crash described in #534 when applied against 1.6.3.

Current master not working for me in general for unrelated reasons.