DI\Extension: Fixed compatibility with dev version of nette