[RHEL6 PATCH 2/2] internal: fix redhat/create-patches.sh logic errors