MDLSITE-3076 fix for preg_match notices during upgrade