Just make sure the task being registered is not active.
It could be that we have an inactive task with the same name which would be OK to replace.
Merge pull request #326 from whirm/misc_fixes

Just make sure the task being registered is not active.