Issue #2052609 by goldorak | g33kdot: Fixed Notice: Trying to get property of non-object in commerce_product_has_specified_terms_build().