fix paths in database inspection

@tjwebb @bixwilson Not sure how the new automatic-extension-inspection of `-i -b` could possibly work with these paths wrong.