patch upgrade.rb to use gear_map_ident for upgrade_cartridges ident resolution