Issue #2039573 by blasthaus: commerce_paypal_ec_enabled_rules() throws PHP error if no payment method rules enabled