Description
The following patch fixes a bug where the paymentMethod in CheckOutEvents.getSelectedPaymentMethods might be filled with a phantom payment method.
It checks for an empty parameter, not only NULL, to avoid a phantom paymentMethod with ID "" in selectedPaymentMethods, that causes subsequent errors in payment handling (e.g. ShoppingCart.getValueObject).