Change packages array to empty hashes