fixed repository updating in mariadb migration script