Fixes bug 1093637
In the OVS and LB plugins there are cases when accessing the network
has an additional database query. The patch enables this to occur
without accessing an invalid database entry.
Change-Id: I7d4944cf3240819f23dd7b4993d6ae3cefab9dc2