fixed a crash when user has repo name in lowercase when the username has upper case characters.