Handle case when product.attributes is None