The hash, at least as reported by get_snapshot_history(), seems to change. I think this is related to the git subdirectory resources, which may be returning a different hash. That's ok for the restore hash, but the compare hash should be the same...
See test_rclone.py for an example.