neo4j-backup exits with status 1 in case of foreign destination

This is a backport of PR #1085 to 1.9-maint branch.