Site Administration > Front Page > Front Page restore reports "no files available" even when backups have been created.
Completing a Front Page backup takes the user to a list of available backups at /backup/restorefile.php?contextid=2, and from here the Front Page can be restored. However, the actual link to "Front Page restore" points to /files/index.php?id=1&wdir=%2Fbackupdata, which always reports "no files available".
Steps to reproduce
==============
1. Login as Admin and click Site Administration > Front Page > Front Page backup
2. Complete the steps to create a backup of the Front Page
3. Verify that the new backup page is listed
4. Click Site Administration > Front Page > Front Page restore
Expected result
===========
I would expect to see a list of backups of the Front Page, from which I could choose one to restore.
Actual result
=========
Message "No files available" appears.