Genex-PATH: path handling

Fixes: #23498
45 jobs for !7292 with genex-PATH in 17 minutes and 42 seconds (queued for 4 seconds)
latest merge request