Fix bug upstream where if given incorrect import paths, it would process it incorrectly.