os.path.normpath strips the trailing '/', so it does not work