Starting with v2.37.0, environment variables set on the backup container will not propagate to backup runs defined by a file in conf.d anymore. This is a bug and needs to be fixed.
If you are affected by this, the current solution would be to downgrade to v2.36.1 and wait until this issue is closed.