Update test to match new error message when repsository is locked.