Fix scanning repos from DB
Fix scanning repos from DB

Signed-off-by: Lewis Marshall <748e1641a368164906d4a0c0e3965345453dcc93@lmars.net>

lmars/flynn-webhook-deploy,lmars/flynn-webhook-deploy,lmars/flynn-webhook-deploy