Handle NoModuleException in dnf_context_reset_modules (RhBug:1767453)
Handle NoModuleException in dnf_context_reset_modules (RhBug:1767453)

We need to do this in case modular repos are disabled or not
accessible; otherwise we can crash with an unhandled exception
here.

Signed-off-by: Adam Williamson <9343557fe728326ecca60ea600eccabb6754179b@redhat.com>

rpm-software-management/libhif,rpm-software-management/libdnf,rpm-software-management/libhif,hughsie/libhif,hughsie/libhif,rpm-software-management/libdnf,rpm-software-management/libhif,rpm-software-management/libdnf,rpm-software-management/libhif,hughsie/libhif,hughsie/libhif,rpm-software-management/libdnf