public bool InTheMiddleOfRebase() { return !File.Exists(GetRebaseDir() + "applying") && Directory.Exists(GetRebaseDir()); }