SPmenu: Skip scenarios with nonexistent filenames earlier

In particular, before attempting to look up metadata of something that
does not exist. May or may not fix #2121 while we are waiting for more
data.