doc: clarify how exit status of post-checkout hook is used