patch from Joey Hess for pristine-tar backwards compatibility