Deduplicate completion list

Use a set to avoid duplicates entries, if programs appear multiple times in the
PATH. This is especially needed on archlinux, since /bin and /sbin/ were linked to /usr/bin.