error out of upgrade as soon as a bad gear configuration is detected
Check for cartridge IDENT before starting gear upgrade process

https://bugzilla.redhat.com/show_bug.cgi?id=1077378
Gear upgrade should not fail when OPENSHIFT_*_IDENT env variable not present.
Merge pull request #5001 from bparees/missing_ident

Merged by openshift-bot