Fix to ensure a package version is installed.

Change-Id: Ia055ed4eb9c6e1483b39d290c163b58c8d233126