Ensure SUGAR_PROFILE is set before common.setup

So that osbuild picks the right profile name.