Ensure an item exists on the rpcconsole stack before adding
Ensure an item exists on the rpcconsole stack before adding

Ensures that there is an item on the rpcconsole stack before adding something to the current stack so that a segmentation fault does not occur.

chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin