Add 'log' and 'imports' options.
Make the behavior of 'upgrade' consistent.

...specifically under the condition of "no packages available for upgrade".