Set revision to nothing for dev version instead of last commit.

Since it is not updated on every commit it makes no sense to
have it there.

Refs #17176.