Move ssh retrieve code to make.js module. Remove get_repositories module