Makes travis-ci script more robust against composer failures