Fix run-git-rspecs to check if buffer exists