Fixed ignorelist checking.

It was using ignorelist instead of var.ignorelist.