Making repo type check case insensitive.