MDL-40191 navigation: do not throw an error if activity is not visible
MDL-40191 navigation: do not throw an error if activity is not visible

navigationlib is not the place to check it, let the page itself decide what to do in this case

dilawar/moodle