build failure if the project is not a git repo
use ${basedir} for absolute paths
Merge branch 'fix/build-fails-with-different-working-dir' into develop

* fix/build-fails-with-different-working-dir:
  use ${basedir} for absolute paths
Merge branch 'fix/do-not-fail-build-without-git-directory' into develop

* fix/do-not-fail-build-without-git-directory:
  build failure if the project is not a git repo