Fix undefined method `cyan' for nil:NilClass when repository section is
invalid.

[fixes #68238116]

Signed-off-by: Matthew Boedicker <mboedicker@pivotallabs.com>