Make invalid service image name a build error
Originally this method returned a plain error when an invalid image name was specified. This is interpreted higher up in the call stack as a system error which results in:
- the job being retried twice more.
- the job finally failing with a system error.
This error is a build configuration error and, the job should fail as such, without retries. Make it so be returning a BuildError.
Testing:
- Failing job before this change change: https://gitlab.com/avonbertoldi/test-project/-/jobs/8036811296
- Failing job after this change: https://gitlab.com/avonbertoldi/test-project/-/jobs/8036805086
close #38234 (closed)