Fix for creating asset url without the format extension in path