cubicweb #2469942 crash in debug code (DBG_REPO enabled) [validation pending]

prioritynormal
typebug
done in3.15.4
load left0.000
closed by#eeabc752c32e [repo] fix debug code in DBG_REPO mode (closes #2469942)