nitunit: updade usage of get_mmodule_by_name

Signed-off-by: Jean Privat <jean@pryen.org>