Wrong variable name (probably typo)

`JPath::find()` is using the variable `$metadataFiles`, which isn't defined anywhere. It should be `$metadataFolders`.

Currently this breaks the menu item creating for views where there is a metadata.xml only.