Fix broken if statement
Fix broken if statement

[#169279148](https://www.pivotaltracker.com/story/show/169279148)

Co-authored-by: Brendan Smith <8591d66a77fc00d117843ef4d4bc1fbb80fd377f@pivotal.io>

cloudfoundry/cli,cloudfoundry/cli,cloudfoundry/cli