core: environment_loaded doesn't load full env