Make sure that we either pass the asset host or an empty string when generating the base path of ckeditor