null-ref check on empty module names.