only assign book.cover if coverPath is available, fixes #158