Making sure the task repository is set on the singleton task context
instance