Empty git commit messages made splitlines()[0] raise IndexError in format() and /dream-restore list rendering.