Octopus Deploy 3.4.13

From the Octopus Deploy website under Tasks > Script Console, which have used before to deploy one shot maintenance to environments, however, this seemingly harmless script is not outputting the environment variable value for a specific targetted end point