pkg/path: improve use of cache in `path->pkg'

Cache exploded package paths, which cuts about half
(more than a second) of the start-up time for
`raco setup' on my machine.
Makefile: fix source mode for snapshots
cm: change an "internal" error to show OS-level error