Check if asset_host is a Proc before calling #split on it