Improve error message for !IsWorkingTreeOrBareRepo case