Fix grunt.registerTask(taskName, fn) case, where no task description is provided and the second argument is a function, not a string or Array.