moved architecture var small change

If we skip the build for the rootfs it never exports the architecture.
It’s a bit redundant but it should fix the var issue.