Check if there is a sellable before using

This fixes the printing of work order reports

Change-Id: Ibafd7b3f3c2c9616ded303e9fdf7660acdbf6936