Commit.xs: fix unused var in lookup()