def get_prefix_name_from_path(path: str) ->str:
    """ Assume prefix-name to the last non-empty string after splitting along '/'
    """
    parts = path.split('/')
    for p in reversed(parts):
        if p:
            return p
