Adding some defensive code to SnmpInterfaceUpgrade to avoid NPE.