Fix linux image exclude for offline

Current regex matches 1** versions for exclude

Closes-bug: PROD-35434
Change-Id: Iedcd15a889a541386e47f0fcd8a118684c450100
(cherry picked from commit 3e27ae460a3aac6bc669f730fa1c05ad100a9b4f)
2 files changed