Fix bug in case of required with precised dependencies