Catch an edge case in imports.

Reviewed in https://codereview.appspot.com/7454047/.
2 files changed