zsh-conf: fix bug in kernel status check function