The mongodb extension has numeric branch names, which are inversed with version requirements (i.e. <numeric-branch>-dev vs dev-<named-branch).
Therefore, we should update the \Php\Pie\DependencyResolver\ResolveDependencyWithComposer::factoryRepositorySet to check for numeric branches too.