Did refactoring; ignorePkg().

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Changed using raw string literal of removeImport().

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>