Since these recent changes, the validate-modern.py script fails with TypeError: read_tar() takes 3 positional arguments but 4 were given.
It indeed seems like the read_tar function now expects 3 arguments while 4 arguments are passed from the main function.