Clean up exist/alive/activate checks.

Make it clearer what each check does. Fix bug with wp-cli command not indexing a non-existent index.

@tlovett1 #reviewmerge