target_*: Fix cross-directory call backtraces

Record the call-site backtrace, not the current backtrace of the
target's directory.

Fixes: #23873
11 files changed