[WIP] CS-5549 - A new way to get theme path - speed improvement

Check if uri have enough parts