Allow RestoreRepository to restore latest backup
The changes here to RestoreRepository will allow server-side backups to be used identically to how current backups are used until we fix it properly in gitlab#357044 (closed) next release.
Edited by James Fargher