Fixed python pkg version checking where version is a module.