Fix 'Newer version' message when ahead of current commit.

The 'A newer version' message appears incorrectly when you're ahead of the current commit not behind it, albeit this is an unlikely issue as it'd only really happen when developing on the project, but it's an issue no less.