Correctly find a TDB content directory.

Also, tighten up the git status display.