[PATCH 3/3] Makefile.local: use $(wildcard) to check existence of ${srcdir}/.git