fix issue if a registration object not found in paypal ipn notification