Fix error if inventory custom list products has no shelf

2 jobs from adaptation_supercoop in 1 minute 27 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #3847
lint:js

00:21

passed #3848
unit:django

01:05