Consider doing a popd if the directory in the pushd is no longer needed.