fix null ref in _fixImports when no-rewrite-urls is off

Review URL: https://chromiumcodereview.appspot.com//12463005