Why do we need to check chrome.runtime.lastError here? Can you add a comment what case this covers?