Prevents a nil reference exception

I'm not sure what has to take place for this to happen, but I've discovered that the payment source is sometimes `nil`, but that results in an exception.