Fix workflow bug "Local variable 'value' referenced before assignment"

See merge request !1704
8 jobs for fix/grouping_internal in 0 seconds (queued for 1 second)
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

01:15:25

failed ERP5.UnitTest-Master

01:40:34

passed SlapOS.Eggs.UnitTest-Master.Python2

00:13:33

passed SlapOS.Eggs.UnitTest-Master.Python3

00:14:25

failed ERP5.CodingStyleTest-Master

01:00:23

failed ERP5.UnitTest-Master

01:27:13

passed SlapOS.Eggs.UnitTest-Master.Python2

00:13:31

passed SlapOS.Eggs.UnitTest-Master.Python3

00:16:22