Check for None in _set_standard_price

Default context is `None` and never checked before invalid .get.