Issue #2231003 by kay_v, djevans, lokapujya, seiplax | scor: GetPreparedFieldMapping() should return NULL when there are no mappings.