MDIA: fix bug in pattern test check
MDIA: fix bug in pattern test check

Change-Id: Iaacdad2d1ddaa7485bf8c0d60bde58876bc6f132
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6024
Tested-by: Jenkins Server
Reviewed-by: Sachin Gupta <285b19a698aa558fba6ab25cf25b393d072fd749@in.ibm.com>
Reviewed-by: BENJAMIN J. WEISENBECK <5c9571551d3c5d31d5a99a7e8d72fcb5684103ff@us.ibm.com>
Reviewed-by: Zane Shelley <fc96e127d170d6ac0b2af86a8a56f95974ff36e8@us.ibm.com>
Reviewed-by: A. Patrick Williams III <c87e37b1a4035affd737b461af89fb722d635f4d@us.ibm.com>

open-power/hostboot,open-power/hostboot,open-power/hostboot,Over-enthusiastic/hostboot,open-power/hostboot,alvintpwang/hostboot,csmart/hostboot,csmart/hostboot,Over-enthusiastic/hostboot,alvintpwang/hostboot,csmart/hostboot,open-power/hostboot,csmart/hostboot,alvintpwang/hostboot,Over-enthusiastic/hostboot,alvintpwang/hostboot,Over-enthusiastic/hostboot,alvintpwang/hostboot,Over-enthusiastic/hostboot,csmart/hostboot