Use clone only for local, cached repositories.