gitall: don't execute git cmd when dir is missing