always clear tmp folder and init fresh repo
make the code pass the linting
Revert "always clear tmp folder and init fresh repo"

This reverts commit 897e5482b10ae033e99c11dc5a36d4e55d7ef40b.
check remoteUrl of repository in tmpDir
Merge pull request #23 from dotch/master

Verify remoteUrl of cached repository.