src/package.cpp: Use candidate version's section
Packages do not really have a section, this moved to Version a few years ago (they can differ between versions). Let's just use the candidate's section, if there is one.