Fix Git revision not being correctly added to version object.

Refs #17176.
Update source version to 1.10.0-pre.