Make pacman a proper package.

I'm still sorting out how I'm going to untie this Gordian knot, but I think it
will involve pacman at least pretending to be a real package.
Print the whole exception.

When it's file not found, the message is just the file name, which is
confusing.