Add --no-pager to checkout hook