Correctly retrieve the right package to get version