Remove use of deprecated IsErr...NotFound checks Upstream-commit: daafdf3d84 Component: cli
daafdf3d84