[JENKINS-63868] - Prevent the Build History Widget from exploding when user have Discover permissions without Read for folders