Use Gruntfile location as basedir if --gruntfile option is used.