Don't set cwd when cloning, it may not exist yet