Fix for composer plugin BC break

- New composer plugin support breaks backwards compatibility for plugins of
  type 'composer-installer'.