wp cache: remove redundant exit calls and use WP_CLI::line()