init: add pre-config logging
This allows us to see logs even before config is loaded and logging is fully set
up. For example what config profile gets selected.
This also performs minor changes to improve structure and readability.
Related: https://pagure.io/fedora-qa/blockerbugs/pull-request/169