Set homeDir, and iterate over packages