It's actually to prevent an issue where kadmin returns 0 on failure. The second check can fail, since grep returns a useful return value on failure.