URIUtils::IsInPath needs to check if the base path isn't empty, fixes te...

...xturecache when there is no skin loaded

Basically I noticed that when we run headless the speacial path to skin is "" which means that we did a check against "" which always returned true, meaning we thought that images was cached already and got an infinite loop in the cached file lookup