TOOLS-312 simplify channel logic in restore.go