Partially fix issue #1428

Get rid of two warnings for ridiculously rare cases where the PHP PCRE extension has been compiled without Unicode which would result in `$matches[1]` being empty or not set.