Fix auto-pushd