CloneRepo clones the given git repository and checks out the given tag
into a temporary directory whose path is returned.
The caller is reponsible for deleting the temp directory if needed.
CloneAndParse clones the a repo into a temporary directory,
checks out the given tag, and parses its contents.
The temporary directory is removed automatically.