FIX: Fall back to hardcoded version when period check disabled (PR #12784)

When SiteSetting.version_checks? is disabled, the Discourse version is not stored in Redis, so we need to fall back to the hardcoded value.

GitHub