Injected kernel into EzPublishLegacyBundle

Required by a compiler pass to read kernel settings.

Is that fine ? :-)