code: function npmLoad(context, pkg){
  	var task = new FetchTask(context, pkg);
  
  	return task.load().then(function(){
  		if(task.failed) {
  			// Recurse. Calling task.next gives us a new pkg object
  			// with the fileUrl being the parent node_modules folder.
  			return npmLoad(context, task.next());
  		}
  		return task.getPackage();
  	});
  }
docs: Loads package.json if it finds one, it sets that package in paths so it won't be loaded twice.