[ci] Fix test_validate.py again (#4242)