Make this work on old git (1.7).

(cherry picked from commit b479182cd27faa9849b88245663bb5e56f3bc581)
Signed-off-by: Bruce A. Mah <bmah@es.net>