Update models.py

If we don't have the customer in the db, don't try to do anything when handling invoice events.