Fix some problems with kernel.kernel_url being an absolute URL