Log git checkout failures
Do not swallow error when a git checkout operation fails.
This will help us to figure out what happened with https://gitlab.com/gitlab-org/release-tools/-/issues/413
Do not swallow error when a git checkout operation fails.
This will help us to figure out what happened with https://gitlab.com/gitlab-org/release-tools/-/issues/413