itermstats: update handling of dependencies