[travis] Fix bug in cd'ing.