Update utils.py

Catch all errors resulting from blacklist checking, not just one exclusive case