Maven: correctly update maven projects tree (IDEADEV-41650)