Update version check of ~/.spacemacs

Now the check pass if the major version of ~/.spacemacs is
the same as the major version expected by Spacemacs