Fixed issue in __setattr__ and __getattribute__ where pyspsi would crash is  was None