Fix duplicated entries in PATH