docker_cli: Fix failif logic problem in attach tests.

Signed-off-by: Jiří Župka <jzupka@redhat.com>