build: apply_profile: support for getting essential vars from uboot-env