build: no need to quote the paths in CMake, it will do it automatically
build: only manipulate out if getting the timestamp was successful

This fixes an issue seen in #1548, though the real problem is something
different.
Merge pull request #1599 from jszakmeister/gitrev-fixes

Some simple fixes to GetGitRevisionDescription.cmake.