Fix revision in version string.

Fixes #6231