[libcontacts] Do not attempt to resolve with empty match values

Do not falsely match empty inputs to any invalid empty stored values.