[qa] test_framework: Exit when tmpdir exists
[qa] test_framework: Exit when tmpdir exists

Github-Pull: #9098
Rebased-From: fae19aa1da0858678874815b344de83e1ee3a1bd

EntropyFactory/creativechain-core,ShadowMyst/creativechain-core,zcoinofficial/zcoin,bdelzell/creditcoin-org-creditcoin,HashUnlimited/Einsteinium-Unlimited,HashUnlimited/Einsteinium-Unlimited,lbrtcoin/albertcoin,metacoin/florincoin,zcoinofficial/zcoin,EntropyFactory/creativechain-core,jl2012/litecoin,metacoin/florincoin,bitcoinplusorg/xbcwalletsource,zetacoin/zetacoin,zcoinofficial/zcoin,bitcoinplusorg/xbcwalletsource,bdelzell/creditcoin-org-creditcoin,funkshelper/woodcore,litecoin-project/litecore-litecoin,lbrtcoin/albertcoin,litecoin-project/litecore-litecoin,shaolinfry/litecoin,lbrtcoin/albertcoin,oklink-dev/bitcoin,okinc/bitcoin,bdelzell/creditcoin-org-creditcoin,shaolinfry/litecoin,lbrtcoin/albertcoin,Electronic-Gulden-Foundation/egulden,OmniLayer/omnicore,cannabiscoindev/cannabiscoin420,zcoinofficial/zcoin,magacoin/magacoin,itmanagerro/tresting,HashUnlimited/Einsteinium-Unlimited,okinc/bitcoin,zcoinofficial/zcoin,bitcoinplusorg/xbcwalletsource,funkshelper/woodcore,shaolinfry/litecoin,shaolinfry/litecoin,EntropyFactory/creativechain-core,litecoin-project/litecore-litecoin,bdelzell/creditcoin-org-creditcoin,bdelzell/creditcoin-org-creditcoin,oklink-dev/bitcoin,ShadowMyst/creativechain-core,bdelzell/creditcoin-org-creditcoin,itmanagerro/tresting,itmanagerro/tresting,metacoin/florincoin,emc2foundation/einsteinium,cannabiscoindev/cannabiscoin420,Electronic-Gulden-Foundation/egulden,magacoin/magacoin,OmniLayer/omnicore,EntropyFactory/creativechain-core,emc2foundation/einsteinium,HashUnlimited/Einsteinium-Unlimited,magacoin/magacoin,OmniLayer/omnicore,bitcoinplusorg/xbcwalletsource,shaolinfry/litecoin,emc2foundation/einsteinium,zcoinofficial/zcoin,funkshelper/woodcore,magacoin/magacoin,emc2foundation/einsteinium,zetacoin/zetacoin,zetacoin/zetacoin,OmniLayer/omnicore,cannabiscoindev/cannabiscoin420,itmanagerro/tresting,gravio-net/graviocoin,zcoinofficial/zcoin,lbrtcoin/albertcoin,emc2foundation/einsteinium,lbrtcoin/albertcoin,emc2foundation/einsteinium,bitcoinplusorg/xbcwalletsource,EntropyFactory/creativechain-core,litecoin-project/litecore-litecoin,funkshelper/woodcore,shaolinfry/litecoin,gravio-net/graviocoin,magacoin/magacoin,itmanagerro/tresting,cannabiscoindev/cannabiscoin420,litecoin-project/litecore-litecoin,okinc/bitcoin,lbrtcoin/albertcoin,zcoinofficial/zcoin,zcoinofficial/zcoin,oklink-dev/bitcoin,OmniLayer/omnicore,zetacoin/zetacoin,EntropyFactory/creativechain-core,Electronic-Gulden-Foundation/egulden,metacoin/florincoin,Electronic-Gulden-Foundation/egulden,itmanagerro/tresting,jl2012/litecoin,okinc/bitcoin,lbrtcoin/albertcoin,bitcoinplusorg/xbcwalletsource,gravio-net/graviocoin,Electronic-Gulden-Foundation/egulden,gravio-net/graviocoin,oklink-dev/bitcoin,jl2012/litecoin,metacoin/florincoin,oklink-dev/bitcoin,HashUnlimited/Einsteinium-Unlimited,ShadowMyst/creativechain-core,jl2012/litecoin,zetacoin/zetacoin,okinc/bitcoin,zcoinofficial/zcoin,Electronic-Gulden-Foundation/egulden,okinc/bitcoin,OmniLayer/omnicore,jl2012/litecoin,jl2012/litecoin,ShadowMyst/creativechain-core,ShadowMyst/creativechain-core,lbrtcoin/albertcoin,HashUnlimited/Einsteinium-Unlimited,metacoin/florincoin,funkshelper/woodcore,lbrtcoin/albertcoin,oklink-dev/bitcoin,gravio-net/graviocoin,gravio-net/graviocoin,lbrtcoin/albertcoin,magacoin/magacoin,ShadowMyst/creativechain-core,cannabiscoindev/cannabiscoin420,lbrtcoin/albertcoin,litecoin-project/litecore-litecoin,zetacoin/zetacoin,cannabiscoindev/cannabiscoin420