Fix #1290097 ["epub" without toc crashes](https://bugs.launchpad.net/calibre/+bug/1290097)
I love linux distros