Fix for composer plugin BC break

New composer plugin support breaks backwards compatibility for plugins of type 'composer-installer'.
Related to https://github.com/phpDocumentor/phpDocumentor2/issues/1035