Test for LTS targets if already operating in a tqtc/ project


This patch fixes a bug where the cherry-pick bot would fail
to find a valid LTS pick target if the originating change
was merged in a tqtc repo.

Fixes: QTQAINFRA-5773
Change-Id: I8f0d78de01f7d3ac4043d52747e21c036809e75d
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
commit1c3b39cee49d79b9a8f0dc6bfcd856dcc2e75601
parent5d1a8c9f24f4d8ddb9a2fa46434c192c1bfa92f1
authorDaniel Smith <daniel.smith@qt.io>
committerDaniel Smith <daniel.smith@qt.io>
commit timeFri, 18 Aug 2023 15:56:05 +0200