Find installed versions of packages matching a pattern