Clone the repository for init, push, catchup.

Create a clone of the repository before using it; should fix resmo/git-ftp#180.
To revert back to the old behaviour (no cloning), set USE_TMP_REPO to 'n' (at the beginning of the script).