Added check for repohome existing.
Fixed missing end of if statement in the GitRepoHomeCheck function.