Bugfix for trying to backup nonexistent targets.

The bad backup code would backup any target file or directory, even if
it did not exist. This leads to failure in a fresh deploy of SALVE. This
fix includes glue to make the tests continue to pass, but more tests
are now needed.