added check in pull for the existence of the cart
Revert "added check in pull for the existence of the cart"

This reverts commit 6ce12f1770d295fcdcaf01b4aebea164866e3bfb.
adding cart check for #201
Merge pull request #210 from hzgraham/master

fix for 201, checks that the downloaded cart json isn't None before writing.