Update swift_backup.sh

Moved the home directory check to a more sane place to fix chicken and egg problem