[Backport] Fix bug #1112: Sometime the nav projects menu doesn't show the project list