Prevent 500 error when search wiki for non-existing repo

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>