Do not load service configuration if not needed

If the bundle loads a service configuration and `doctrine_odm` (for
instance) did not exists, the application crach because there is a non
satisfied dependency.