Bugfixes in twitterlogger

- Fix incorrect test for undefined digest_timeline option
- Fix test for empty image array in single_entry function