PyCharms mistreates import lines