Removes duplicate directory name from application_directories

We would assume that all desktop files in different locations are unique.
For example vlc.desktop exists in /usr/share/applications and
$HOME/.local/share/applications. We should merge the contents of these
two files.

The only true duplicate entry would be identical file paths. This commit
removes such entries.

Fixes #28
Early return for more probable values.