Allow for repo downloading as tarballs
Refactor 9dfcf8cfca1d64a15f816033f7aef05eabc233b3
Merge branch 'download'