Tidy DB path construction to fix the "Already exists" error message