I’ll be more specific in my statement:
In the current version of Duplicati, in headless mode and without configuring a job in the GUI to use a custom tempdir, always the system default temporary directory is used.
I’m surprised if you claim the contrary, and only understand this if either you use some other version or you configure it jobwise.