Add a check for any artifact paths that do not fall within the project directory or its subpaths
What does this MR do?
Fixes the issue with jobs hanging until timeout when processing artifact paths that use the doublestar glob (**) and search outside the project directory.
Why was this MR needed?
To avoid jobs hanging and quickly provide a warning when an artifact path is outside the project directory (doublestar glob or otherwise)
What's the best way to test this MR?
Using the steps (or a fork of the repo) identified in #29281 (closed), ensure that all jobs pass quickly and don't run out the 3 minute timeout.
What are the relevant issue numbers?
closes #29281 (closed)