recursively delete any local plaintext copy of the remote repo before downloading.  Turned out this was causing unexpected behaviour in the pull where any left over FETCH_HEAD could cause an unexpected merge.