Fix tracking of unrecognised Gitaly versions
The error raised was making use of an undefined variable, resulting in a different error being produced. This would lead to errors such as the one seen in https://sentry.gitlab.net/gitlab/release-tools/issues/1687810/
Edited by Yorick Peterse