Fix a few minor bugs. * Change to split source lines with "\\R". When split with "\\R+" empty lines were skipped. * Reduce logger output size, no need to dump full exception call stacks. * Check null repoManager pointer before use; avoid exception in unit tests. Change-Id: Id4fa4d445eee4f16619f46052dd3139b2461d6bb