Handle pielines that run in gitlab_templates or a fork or it.
Conditionally override _GITLAB_TEMPLATES_REPO if we are testing an MR. Does not affect any project beside gitlab_templates
Edited by Moshe Weitzman
Conditionally override _GITLAB_TEMPLATES_REPO if we are testing an MR. Does not affect any project beside gitlab_templates