Reverted some changes back to using the gitWrapper isCloned() function.