Fixes #277
Merge pull request #278 from tj/delete-submodule-fix

Fixes #277.