Set current working directory if moduleName doesn't exist
Set current working directory if moduleName doesn't exist

then your can easily use gulp.loadTasks() instead of
gulp.loadTasks(__dirname).

Cellarise/gulp-load-params