Node Platform - Add more checks for gear structure

* Check for cartridge idents and OPENSHIFT_PRIMARY_CARTRIDGE_DIR