Do not allow self import

Solves issue https://github.com/Araq/Nimrod/issues/1572