Do not fail on gears without a primary cartridge.
Merge pull request #2118 from ironcladlou/stg/bz/953112

Merged by openshift-bot