Ensure that getattr returns a default

The plugin broke when I didn't have KARMA_SCALE_LINEAR set to False in my settings.