Add try/catch block and some other sanity checking to CheckCargoForItem()