Don't remove the git repos just exclude them from the tar file.
Need depth so that we can checkout a version other than HEAD.
Merge pull request #1341 from edx/feanil/xml_updates

Don't remove the git repos just exclude them from the tar file.