Restore old result path in wbgetentites

Bug: 57529

Change-Id: I56020585c1f61e983189108e32b05eb96ec06838
(cherry picked from commit 709e735cdf23a01572a515e79b66af0c6934b73c)
Merge "Restore old result path in wbgetentites" into mw1.23-wmf5