oepnstacksdk returns generators, not lists, so we have to convert
the returned values before length check or index access.
Also keystone does not accept endpoint_type with URL suffix.
Closes-Bug: #2123895
Change-Id: Icbf1eb9bab08690a35e402e7a5bd1e0b8912e88d
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>