fixed broken restart of repo after update