[RFC] tools: post-checkout: Fix git hook
post-checkout hook can break interactive rebase when returning a non-zero code.
Still need to investigate a bit why this happens, since it's not clear from the git documentation (after quick reading, I may have missed some details): https://git-scm.com/docs/githooks