I'll just keep this very simple. Just apply the same fix as in bug #1230373 as the bug was fixed in Fedora but not in EPEL. Thanks!
pypolicyd-spf-1.3.2-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-e98381dfe0
pypolicyd-spf-1.3.2-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-e98381dfe0
pypolicyd-spf-1.3.2-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
Just a quick note here that this had to be reverted, because it broke people's working setups.