Fix case when cdn_subdomain=False