Don't duplicate paths if they are duplicated in commandline.
Understand redundant separators.