Why not use [`$builder->findDefinition()`](http://api.symfony.com/2.2/Symfony/Component/DependencyInjection/ContainerBuilder.html#method_findDefinition)?