travis fixing changing directory and valid return code