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

Reopening #1142 with a squashed commit from @sarmbruster