Fix parsing of -ignorepkg