Fix a bug where curly imports were't being parsed correctly.