[FIX] Directory: AddTo() needs to call ClearUrl()

If not LocalUrl will contain an old incorrect value.
Merge remote-tracking branch 'origin/hotfix-directory-bug' into tonimontana-modifications