Removed check variable type for CLI completions.

Found by Coverity (CID 1478003).
1 file changed