Check for is_admin() OR WP_CLI when including files. Closes #2179