properly record packages installed from subdirectories of a GitHub repo