This is incorrect should be

`message = _(u'User {username} does not exist.').format(username=username)`