SyncFileSystem non-chrome-app fix: Don't access chrome.runtime.id in top scope.

It fails when there is no manifest.json.
Make chrome.runtime.getManifest() return null when no manifest exists.