Fix building CI image and patching multiple times
What does this MR do?
Fixes building CI image after the go patch changes as well as running the patch commands multiple times. Encountered at:
- https://gitlab.com/gitlab-org/gitlab-runner/-/jobs/1907728870
- https://gitlab.com/gitlab-org/gitlab-runner/-/jobs/1907729070
- https://gitlab.com/gitlab-org/gitlab-runner/-/jobs/1907729064
- https://gitlab.com/gitlab-org/gitlab-runner/-/jobs/1907729067
As well as during the development of !3255 (merged)
Why was this MR needed?
To allow CI to pass
What's the best way to test this MR?
CI and new CI image should pass
What are the relevant issue numbers?
Edited by Georgi N. Georgiev