ebuild-daemon: Handle shutdown command during initialization

If there is an error (as in bug) somewhere, we may try to shutdown the
daemon before it finishes the initialization. This change adds handling of
the shutdown command in this case, so no further error occurs and obscures
the debugging.