cache: clone git-dependencies --recursive

Fix #1876