[JIRA] (OVIRT-966) Optimize check-patch.sh