A repo to demo a repro of this issue: https://github.com/composer/composer/issues/913