throw better error message if no destination can be found

fixes #1875