hmm, now the exception feels too coupled with the implementation of `delete_module`. i think the cleanest way to do this would be to catch the `IndexError` in the `delete_module` function and then reraise as a `ModuleNotFoundException` or something, and trap that... that way some other arbitrary IndexError that's a real issue doesn't get swallowed