DEPLOYITPB-4029 renamed variable 'type' to 'ciType' to avoid collision with built-in python type