legacy: fix broken import to create_record

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>