ensure app environment config is available /issue #161