Fix get_identities() for the case where the user has not set an email