fixed omitting cwd in clone