Wrapped dataPath var in a getter for use from multiple functions.
Added cleanup method to remove the repo from hd if checkout failed.