[Bug 21142] New: cmd doesn't handle 'else' in if statements