CMS api throws only EntityNotFoundException in method getEntity

Util\UrlHelper facelift