registration: fix segfault when looking for a username without account

Change-Id: Id679de538cf8511077bbf3c52157cbabbb260d53
Reviewed-by: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
1 file changed