Some FTP servers return full path from NLIST

Use `ftp_pwd` and `basename` to ensure the correct FTP path and file are retrieved.
Merge branch 'patch-1' of https://github.com/kabel/backup into kabel-patch-1
Security warnings were breaking the JSON.
Don't allow people to restore JUST the database without the webroot
Remove unneeded slash
Merge branch 'release/12.0' into develop