Promotion target variable does not display

When promoting to a target environment (ie promote to dev) I would like to display the target environment within a Slack message.

However, despite build_to being accessible via the build info API, {{build.deploy_to}} does not display the target environment in the Slack message (it is empty).

What is the correct variable to display that information?