Improve performance for module query
Improve performance for module query

It improve performance when both name and stream is empty.

rpm-software-management/libdnf,rpm-software-management/libdnf,rpm-software-management/libdnf,rpm-software-management/libdnf