trim travis paths prefix from error messages