Fixed iscsitarget_common.pl to parse hostname from iSCSI session information

EUCA-5463 iSCSI Perl scripts fail to work if hostname is used instead of IP address for the SAN