Restore pwd after repairing Homebrew during Travis CI build