Fix OSTF test

We use list with node objects,
as result we fail when try  to get ssh session

Change-Id: I444f1331a31618426c4ffe0b10b8c972ab6a2234
Closes-Bug: #1337734
(cherry picked from commit 3e709cba57df7e958d01484aeb80ba7a3c875133)