Handle zypper locks during pattern inspection graceful

Fixes issue #415.
Merge pull request #419 from SUSE/fix_execution_of_zypper_failed

Handle zypper locks during pattern inspection gracefully