Support packages in subdirs of repos for GitHub repos

Fix for specific case of #1
Merge pull request #2 from michaelmaltese/1-fix_subdirs_github_only

Support packages in subdirs of repos for GitHub repos