BIGFIX : making rebuildnonmarc script work with koha 3.0