[TASK] Prevent PHP warning in AbstractMenuObject

If the current page can not be retrieved for the language menu
the menu generation will be skipped to prevent a PHP warning
in the array_merge() call.

Change-Id: I16c1cc171a6f9aee13294a6e1ed14ce8ac492a17