Fix get_woocommerce_id() crash when json is None.

Signed-off-by: Birin Sanchez <birin.sanchez@puri.sm>
1 job for get_woocommerce_id_crash in 38 seconds
Status Job ID Name Coverage
  Deb
passed #10726
liberty
deb

00:00:38