Use compact manifest in pkg info.

Optimize pkg info for simple cases when we do not need to read
the complete manifest.