Fix in geturlfrompath method to make is case insensitive