BUG: fix wrong usage of os.path.normpath

It is probably a typo