Make 'tg patch' work in subdirectories