Fix crash in menu_cache_item_get_file_dirname() for a non-existent entry file.