[JBIDE-15262] fixed creating web- and add-on-cartridge at same time

The prior commit included a faulty implementation that did not work.
This commit now fixes this.
Merge pull request #70 from adietish/JBIDE-15262

Merged by openshift-bot