Fix occasional Travis-CI error: chrome.runtime is undefined