Fix Echo hook: User::newFromName can return false

Change-Id: I03a1b7e7c19f74a825bf013df2d83b803a8fe446