fixes the shipment option builder so that in case of travis test it will not crash because there is no db set up for the test.
fixes the shipment option builder so that in case of travis test it will not crash because there is no db set up for the test.

flagshipcompany/flagship-for-woocommerce,flagshipcompany/flagship-for-woocommerce,flagshipcompany/flagship-for-woocommerce