git-remote-testpy: fix path hashing on Python 3