Mimic the submodule redirect logic in kochiku repo