We ought to add some sanity check in the eclass...
Fixed in gentoo by removing the dependency on git.