Yes, `src` is always an array, look at https://github.com/gruntjs/grunt/blob/master/lib/grunt/task.js#L174
Perhaps it would be useful to check that the array has exactly one element.