cubicweb-vcsfile #5102930 creating Repository entity from datafeed fails [validation pending]

the hooks don't expect entity.cw_edited['local_cache'] == None, so we never set local_cache and things get upset.

priorityimportant
typebug
done in2.1.0
load0.500
load left0.000
closed by#babb8cf34b4e [hooks] don't bypass set_local_cache if local_cache is set to None
patch[hooks] don't bypass set_local_cache if local_cache is set to None [applied]