Fix imported versions of packages from modules.