```python
def crust_slice(name: str) -> str:
    if '.' not in name:
        return name
    else:
        return name[:name.rfind('.')]
```