utils: fixes function fix_journal_name.

Signed-off by: Georgios Papoutsakis<georgios.papoutsakis@cern.ch>