Making salt.utils.pagerduty python3 compatible