Workaround for https://github.com/composer/composer/issues/2757