Be more defensive about undefined properties when detecting chrome.storage capabilities.