Update gitlab 17 failed: GitLab KAS: RuntimeError: Execution of the command /opt/gitlab/embedded/bin/gitlab-kas --version failed

It seems to happen only on CentOS7, I also have RedHat9 with gitlab-kas enabled and it doesn’t broke.