[Koha] Can't use an undefined value as a HASH reference