improve git2log to work in sub-branches
fix typo (bnc #909845)