try to detect circular walking in rpmkit.tree.walk