[updater] Fix backup infinite loop on symlinks. Ref core/#6918
Merge pull request #1628 from owncloud/updater-symlinks

[updater] Fix backup infinite loop on symlinks. Ref core/#6918