DoctrineExtension: Fixed AnnotationRegistry