LP#1673870: process ebook variable in misc_util.tt2