Fix a null pointer exception when the extended menu have an entry without link. Thanks to Jacques Leroux for the alert