Fix git regression, lock correct sqlite db