fix logic to handle ignored packages in dependency walker