Disable application environment when target is used as host for tests