Do not throw exception on install --dev with old lock files if composer.json has no require-dev