Fix versionCheck config option

The same as the 1.8 fix, except for the 1.7.10 branch.

Fixes the versionCheck config option not working.