from typing import Tuple
from typing import Optional


def split_module(path: str) -> Tuple[Optional[str], Optional[str]]:
    """Split module and system path."""
    if not path.startswith('@'):
        return None, path

    index = path.find('/')
    if index == -1:
        return path[1:], None
    else:
        return path[1:index], path[index + 1:]