CAMEL-7037: Fixed the NPE when using the embedded or the run goal of guice-maven-plugin.