Revert "Set the config registry onto the task object"

This reverts commit eb4dbbdcfd4d36428bad0f9dd82aa37d5fe5db26.