sharing: prevent duplicate folders being selected for media sharing

https://bugzilla.gnome.org/show_bug.cgi?id=706661