Fix panic in display only case for license
Fix panic in display only case for license

Prior refactoring passes missed a corner case.

Signed-off-by: Daniel Hiltgen <450e8eee12e8d348f09427c205cd53e1e4ff975a@docker.com>
(cherry picked from commit dee37936e56c1412a6fa7b4db35a232ff7464692)
Signed-off-by: Daniel Hiltgen <450e8eee12e8d348f09427c205cd53e1e4ff975a@docker.com>

thaJeztah/cli,cpuguy83/cli,cpuguy83/cli,thaJeztah/cli,docker/cli,docker/cli