use new API function to avoid one check_screen per pattern

requires https://github.com/os-autoinst/os-autoinst/pull/146