Provide an alternate to template_preprocess_entity() that is safe for Commerce's usage of NULL entity_uri() return values.