Catches distribution errors for travis