common: fix smfm_page_requested for directories.