extract find_composer_autoloader()
work only with the installer composer.json file
look for package index under the 'wp-cli' key