Added conditional to support WP-CLI on local clones.