check if BinStore is null (this can happen if a product is corrupt)
(cherry-picked from ba11b3a)