After writing this post, I realised, that on admin site, I need the alias, to edit the link object. But on public site, he should take the link given, not the alias...
I took a closer look on this, and I realised, that I have to do the link check on my own. But unfortunately, treemenu() doesn't give me any info about the class type...