Fixed Issue concerning malformed module names in regime handler
Fixed Issue concerning malformed module names in regime handler

(cherry picked from commit 178c5da14553ae9cc0e130ea49eb5e2d2373e284)

cklb/PyMoskito