continue working on recursion issue in rpmkit.tree.walk: add experimental code to limit recursion times