Fix getUrlCdn with undefined value