Test: cts-cli: fix regression in agents test
... introduced when converted to Python (not in a release)