wks: Avoid long trustdb checks.