cmake: Fix determining git version

peckato1 requested to merge dev-releaser into master

Fixes a bug where wrong CMake variable was checked. Instead of checking for existence of variable VERSION_STRING the code checked for existence of variable "value_of(VERSION_STRING)".

Merge request reports