Kdyby\Console\DI\ConsoleExtension: application crash

Related to issue https://github.com/Kdyby/Console/issues/4 (I'm sorry, I don't know how to link the pull request and the issue).