fix incorrect filter check in package info command