test if google book preview exists before assigning it to a var or proceeding

Signed-off-by: William Rockwood <wrockwood@tadl.org>