Fixed issue where relative import with more levels would not be found (on dotted imports).