Avoid fatal error when mentioning invalid user

Change-Id: I0447ca85ce152fa6ffab71069d25d781d919ce0e
Merge "Avoid fatal error when mentioning invalid user"