fix(root/context): use $APP_ROOT to set the right root app context

related to CAM-2825