Fixes Nonetype in sanitizeSceneName

Fixes #257