Fix ips package method.

This repairs the ips package method to better target the package list
format which would, on occaision, completely miss correctly installed
packages due to regex misses.