MDL-30165: Make repository file extension check case insensitive