68f8075 modules: Correctly report error for unexpected modules

Authored and Committed by lsedlar 5 years ago
    modules: Correctly report error for unexpected modules
    
    The code checked with `assert` that there is only one module matching
    given NSV. In actual package that would not do anything and we would
    silently pick the first value.
    
    Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>