Only run tests with non-local interfaces if such an interface exists (#1627)
Only run tests with non-local interfaces if such an interface exists (#1627)

The now guarded code assumes that the interface list is never empty, and
will throw an exception on interfaces.at(0).name otherwise.

Signed-off-by: Timo Röhling <98c2d5a1e48c998bd9ba9dbc53d6857beae1c9bd@gaussglocke.de>
eProsima/Fast-RTPS,eProsima/Fast-DDS,eProsima/Fast-DDS,eProsima/Fast-RTPS,eProsima/Fast-DDS,eProsima/Fast-DDS,eProsima/Fast-DDS,eProsima/Fast-RTPS,eProsima/Fast-RTPS,eProsima/Fast-RTPS