Fix chrome.restoreEntry() patch on Mac