Could you rather refactor `flycheck-module-root-directory` to take an additional parameter for the separator to split the module name by, defaulting to `.`?