client: Check git tag as early as possible when connecting.