An ex-San Jose police union manager is avoiding prison time after illegally importing opioids for foreign drug suppliers — ending a scandal that started nearly two years ago.