Fix a variable shadow bug in tuf.log.