integration-cli: docker_cli_links: fixed broken tests

The tests weren't ... tested when last edited, this patch fixes
them so that they run and pass correctly.

Docker-DCO-1.1-Signed-off-by: Aleksa Sarai <cyphar@cyphar.com> (github: cyphar)
Merge pull request #5627 from cyphar/integration-cli-fixes

Fixed completely broken integration-cli tests