<beans xmlns="http://java.sun.com/xml/ns/javaee"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:weld="http://jboss.org/schema/weld/beans"
       xsi:schemaLocation="
          http://java.sun.com/xml/ns/javaee http://docs.jboss.org/cdi/beans_1_0.xsd
          http://jboss.org/schema/weld/beans http://jboss.org/schema/weld/beans_1_1.xsd">

  <weld:scan>
    <weld:exclude name="org.jbpm.kie.services.impl.form.FormProviderServiceImpl"/>
    <weld:exclude name="org.guvnor.structure.backend.repositories.git.GitRepositoryFactoryHelper"/>
  </weld:scan>

  <alternatives>
    <class>org.kie.config.cli.CliIdentity</class>
  </alternatives>

</beans>
<beans xmlns="http://java.sun.com/xml/ns/javaee"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:weld="http://jboss.org/schema/weld/beans"
       xsi:schemaLocation="
          http://java.sun.com/xml/ns/javaee http://docs.jboss.org/cdi/beans_1_0.xsd
          http://jboss.org/schema/weld/beans http://jboss.org/schema/weld/beans_1_1.xsd">

  <weld:scan>
    <weld:exclude name="org.jbpm.kie.services.impl.form.FormProviderServiceImpl"/>
    <weld:exclude name="org.guvnor.structure.backend.repositories.git.GitRepositoryFactoryHelper"/>
    <weld:exclude name="org.uberfire.backend.server.LockClientNotifier"/>
  </weld:scan>

  <alternatives>
    <class>org.kie.config.cli.CliIdentity</class>
  </alternatives>

</beans>
Exclude org.uberfire.backend.server.LockClientNotifier that was causing system.git to be initialized ahead of kie-config-cli expecting it to be available.
Exclude org.uberfire.backend.server.LockClientNotifier that was causing system.git to be initialized ahead of kie-config-cli expecting it to be available.
