Fix issues with skipping repositories in the backup
Fixes: gitlab-org/charts/gitlab#1639 (closed)
We have an issue, when trying to do a db only backup, we weren't marking the repositories as skipped, (even though we were skipping them)
This resulted in restores that deleted repository data.
This fixes the backup script, but also makes the restore check for the repositories
directory before restoring repos.