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

If not LocalUrl will contain an old incorrect value.
Merge pull request #566 from ToniMontana/hotfix-directory-bug

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