split out repo cloning tools from pull-all, reuse for new build process