"TypeError" on new tab

I have noticed that plugin raises **TypeError** on new tab creation.
Looks like there is a brief moment when `view.settings().get('ignored_packages')` is `None`
I made small refactoring and fixed the bug