Bug in findBrokenDependencies: always set process.cwd() back to its previous value. There was a case when checking RequireJS plugin ability-to-load that an exception could be thrown, and the catch block did not reset process.cwd().