Properly record packages installed from subdirectories of a GitHub repo

Example: `install_github("krlmlr/memisc/pkg/mtable")`

Applies to current `master`.