test(systemtest): Fix prune
& gov
test (backport #22190)
#22196
Merged
prune
& gov
test (backport #22190)
#22196