builtin-blame: set up the work_tree before the first file access