bugfix for add_if_empty in mapper.py fixes frappe/erpnext#1683