To answer your question from comment 9:
I used a patched build with test output (without the reordering from my patch v2).
Result: /home/kaie/.cache/deja-dup/tmp
To answer your question from comment 9:
I used a patched build with test output (without the reordering from my patch v2).
Result: .cache/ deja-dup/ tmp
/home/kaie/