CA-153556: Improving precheck_patch_uuid function

Signed-off-by: Sharad Yadav <sharad.yadav@citrix.com>