Assert own tasks are loaded before trying to access taskNames.
Merge pull request #1684 from dereuromark/master-shell

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