[ResourceBundle] Fix broken `AbstractResourceBundle::getDoctrineDriver()`

I guess you can cover that in #1771 ;) This is urgent bugfix ;)