fix prompt for bare repos