Fix CI for functional tests.