Make available_version conform to new pkg state specs.