[S] Change in osmo-ttcn3-hacks[master]: testenv/osmo-dev: split get_targets to own func