fix starting directory for tm checkout