def clean_path(path):
    """Get name  from path as last item without dot"""
    cleaned_name = path[path.rfind("/") + 1:]

    if "." in cleaned_name:
        cleaned_name = cleaned_name[:cleaned_name.rfind(".")]

    return cleaned_name