fixed #279 by making sure the modname is not empty. We might need to thr...

...ow some Krakens from ModuleInstaller when a precondition on an argument is breached.