Fixes the issue where the correct version wasn't selected when
reinstalling/updating a pack