Optim: If not tree mode, don't rescan known unit
Fix processing of ''''' in commit
Fix processing of '"' in commit message