BigW Consortium Gitlab
Validate project path prior to hitting the database. Closes #45247 See merge request gitlab-org/gitlab-ce!18322