Define mname for use in pyimport_name

`mname` was not defined in `pyimport_name`, and `throw(ArgumentError("$mname is not a valid module variable name, use @pyimport $mname as <name>"))` was throwing `ERROR: mname not defined`.