Convert a mount name to a module name

def mount2name(self, mount):
        """Convert a mount name to a module name"""
        if not self.is_mount(mount):
            raise ValueError('%r is not a supported mount name' % (mount,))
        return mount.replace(self.mount_prefix, self.module_prefix)