Fixed CMake git branch detection with build dir outside of repository working dir