OC-9207: OC-9390: Dynamic Fog gem versioning, Exit code handling