[fix] only callback if we have fetched all npm deps

fixes #82 and #79

/cc @janl @caolan