Safety check for zeroPortal

Change-Id: I6e5121bf75b01c516cd506b3aec992b75209f1de