Fixes #124 - throws exception on broken @import statements.