returning here won't return as it is inside a callback. This function must be a method in order to allow the async check. Otherwise the module need to provide a sync interface - who'd be a better match with the Yeoman API.