Fixes #4549 Do not call lookup plugins when templating a task's name