BZ-1139153 - Not able to create new project via REST API (CDI producer methods must return non-null values)

- See https://docs.jboss.org/cdi/spec/1.0/html/implementation.html#producermethod

  If a producer method sometimes returns a *null* value, then the producer method must have scope
  @Dependent. If a producer method returns a null value at runtime, and the producer method declares
  any other scope, *an IllegalProductException is thrown by the container*. This restriction allows
  the container to use a client proxy, as defined in Section 5.4, “Client proxies”.
(cherry picked from commit caae6e8e3358cd21f3808886dba69233a0147d28)