Fix empty host for an asset url when asset_host proc returns nil

If a CDN can be dynamically enabled in an app, when it is switched off and the asset_host proc returns nil, all asset urls are relative instead of absolute. This fix makes the urls absolute.