[PATCH resend 1/2] cmd: Fix regression in if condition parsing.