Fix the use of os.pathsep
Fix the use of os.pathsep, which was the interpreted the wrong way around in !35 (merged), (it is supposed to be ";" in Windows and ":" otherwise, which is the exact opposite of os.pathsep)
Apologies for getting this wrong @mihostet, particularly given your original review comment.