Catch more exceptions
Change logging format
Do not rename in .git
Do not visit .hg. Closes #17