Set current working directory if moduleName doesn't exist

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