This is not needed anymore because if there is not IP RHEV returns 'None' instead of ''.