remote unsed statement in Task::__construct; PluginRegistry (as git) => Task [via the setter]; write a tests