Fix: prevent preg_match() warnings from occurring if the products page is a draft

Should fix Issue #441.

If the products page doesn't exist (or is a draft), revert to using /product/xyz/ permalinks for products.