This patch is a follow up patch for the PR#46239. The bkpPortal in DetachDisk() path should be initialized before using it.