Fix if no ignorePackages is defined