Search for package data recursively

Extracted from #51