Fix php warning when user not found

Make sure that the returned variable is declared