Replace popd/pushd because travis' /bin/sh doesn't support it.