MDL-40191 MDLSITE-2455 Do not throw coding exception when the activity is not found

Under certain conditions, coding exception is thrown when fetching items from
the navigation bar. The patch prevents them. See more details in the tracker.
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