Add a --local option for local repository cloning.