Fixed a potential bug in GetVersion, caused by the changes in the official foam branch