Fix typo in agent mac fallback selection

Fix typo in agent mac fallback when no interface is inside the network
 that also contains the api address

Resolves-bug: #1270963

Change-Id: I7744c9fae3db2df63c8e73b0e557a7ff992efe0e