Handle virtual packages
Merge pull request #3 from sbrunner/virtual-packages

handle pure virtual packages