Fix for running local ./bin/tdi from inside the repository clone.