Output package options before loading any package.

Fixes: #9355