It wonder if it might be possible to avoid duplicating https://github.com/drnic/bosh/blob/8f6a321cd284d97e1f700d60f903e80384d1f438/bosh_cli_plugin_micro/lib/bosh/cli/commands/micro.rb#L98 and also provide a spec for the else portion of this ternary so it doesn't get inadvertently taken away :)