Issue : 353356
Fix 'str' object has no attribute 'getID' exception.

Change-Id: Id66b2c8b37ae1c86ebb099718cfe51f68c357a0e
Signed-off-by: Tal Almagor <tala@mellanox.com>