MNT: always have a valid exception type in duplicate_exec
MNT: always have a valid exception type in duplicate_exec

This raises errors on newer version of Python

ericdill/databroker,ericdill/databroker