Add patched `package-buffer-info` function.
Use it with `cl-letf`.