Cache repo tree for current commit for small performance boost