Fixes #1847.
Return an empty string for missing summary lines. Can't compare None to strings in Py3k.
Merge pull request #1848 from valrus/master

Fixes #1847.