use new API function to avoid one check_screen per pattern
Merge pull request #197 from os-autoinst/issue_5482

use new API function to avoid one check_screen per pattern