Resolve packages using dataDir (closes #216, closes #212, closes #213, closes #220).