Fix the way packs are detected
Merge pull request #7 from gfjardim/master

Fix the way packs are detected