Log environment before fork
Don't fail if dnf.const cannot be imported