Parse task string to reenable task

I noticed that when using the `invoke` helper and the reenable option with a task with arguments it fails to lookup the task.

I added a failing test and used the `parse_task_string` method to get the task name without the arguments in order to reenable the task.