In DownloadManager.java we should check the value of KernelDownloadUrl from registry in startBackgroundDownloadWithBroker method. Also, the order of checking for bundles download location override should be as follows:
kernel.download.url system property
KernelDownloadUrl registry key
kernel.download.url system property
KernelDownloadUrl registry key