Fix asset paths when ASSET_ROOT contains a full URL