build: Fix srcdir != builddir from git

As used by Continuous.