suppress error when in bare repo