Make sure we call the hooks on the correct cartridge by reading
ident from the cartridge_dir
Merge pull request #2833 from mrunalp/stg/972356

Merged by openshift-bot