test-lib: avoid assuming that templates/ are in the GIT_EXEC_PATH