Fix isModuleEmpty, resolves #551
Merge pull request #552 from purescript/551

Fix isModuleEmpty, resolves #551