Adapt to new deploy_configuration instead of getenv