Fix - When we update the Tax region for the tax ,getting uncaught 500 error...
function getProductTaxPercentage() returns an empty string and not an empty array. we can check if the result is an array then we directly assign it, otherwise we assign an empty array.