Awesomebar: fix for pages with no items in $PAGE->navbar

This can happen if the user is not logged in and is on a page which does
not put anything into the navbar.