Bugfix: Assert own tasks are loaded before trying to access taskNames.

$this->taskNames will only contain sth after loadTasks() has been triggered.
So if it tries to autoload a task before that it will fail.