Improve debugging around symlinks in prop tree
prop: Fix bug in tree traversal for prop_link()

Fixes #1946