Made sure that we accept module names with proper unicode lower- and uppercase (related to work done for #1605)