Change inherit git to git-2 as git.eclass is deprecated.