should fix composer/composer#3382