NXP-15782: fix exception raised frm urllib2.open()
NXP-15782: MP must be deployed in staging during prepare phase