[CMLIB] Add an assert to track potential registry corruptions