Improve assertion
Improve assertion

[#167249838]

Co-authored-by: Eric Promislow <6c389fa4d719bbeec88fea52ca3b2497804923ad@suse.com>
Co-authored-by: Alexander Berezovsky <a12e46294a7d630b60bbba114755367d6bafe2fb@pivotal.io>

cloudfoundry/cli,cloudfoundry/cli,cloudfoundry/cli