Don't use subshell when creating the temporary repo
Add recursive option