improve xivo_package detection