s4-ldb: Separate function to add empty element into ldb_msg