Fix crash condition
Fix crash condition

steedos/opush,4screens/pushd,mattwoberts/pushd,chobiwa/pushd,Yu-Qiu/test-pushd,rs/pushd,futurice/pushd,Binarypark/pushd,Suninus/pushd,vedharish/pushd,peleccom/pushd,steedos/pushd,Suninus/pushd,steedos/opush,avqdev/pushd,vedharish/pushd,steedos/pushd,mattwoberts/pushd,Binarypark/pushd,Yu-Qiu/test-pushd,Product-Foundry/pushd,steedos/pushd,steedos/opush,Product-Foundry/pushd,futurice/pushd,chobiwa/pushd,avqdev/pushd,skishore23/Charakapush,skishore23/Charakapush,rs/pushd,peleccom/pushd,4screens/pushd