[ci] Use exact regex match for test names in selection stage
Backport will be handled in !2616 (merged), no need to backport this to releases/3.4
Edited by Timo Koch
Backport will be handled in !2616 (merged), no need to backport this to releases/3.4