[535200] Create a new TreeWalk instead reusing one

In order to avoid side effects this commits create a new TreeWalk to
create the TreeWalkResourceVariantTreeProvider instead of using the one
given by JGit

Bug: 535200
Change-Id: I1b8621a488db2dc4842d250b95e07312013e648a
4 files changed