[fixes #74110582] use correct path helpers