Because that does only check for nil, but not for emptiness (and the last test would fail).