Flushing out repository for rebuild