rcm: Fix logic error in zsh post-up hook