check no match result in convert_pgerror_* functions

When import csv file into product via base_import module. log some exception in console, but frontend not any message show.
a pgerror raised pass into convert_pgerror_* functions in orm.py, no checked re match result with None ref errors