Recursion detection on symlinks was too restrictive. It would detect the following as recursion:
main -> main-1234
This is clearly not a recursion and a common pattern, eg when hosting package repositories.
Python's os.walk also does not do recursion detection. So lets behave like Python stdlib.