fixed bash prompt error on repos with no HEAD / branches (fresh)