fix for CB-8023 - weinre console.log fails when given null value