TMDM-7552: "Delete records failed in databrowser and throw NullPointerException"

Fix NPE related to use of a non yet completed API.
(https://jira.talendforge.org/browse/TMDM-7552)