Merge pull request #17782 from cheba/engine-root-master

Use absolute_path of caller_locations to infer engine root