Fix #2

It seems that in ST3 the 'ignored_package' is not alwasy available right after opening a new view so I just added a small condition to fix that.