Allow reloading the same module

The exception made it impossible to use IPython autoreloading