Use —local with git clone

This should make the build phase much faster