Fix: ensure dummy task is a callable object.

This takes care of the warning in a senario where
a task object is used without the decorator
syntax.