Fix backup/restore path_to_repo