[Dependency] Fix bad method call on Container.enterScope