Checkout git repos so that we can skip unnecessary clones.

A little messy but at least it runs quickly if a dependency is already
checked out.