Fix module import checking for relative paths

Fixes #48 and allows you to use `-m ..` again.