fix for my last PR

the name of the object on which the attribute was accessed doesn't actually seem to appear in the exception message, as I found out when I tried to sign up from an invite link on staging and self.project == None.