Fix variable name in error handling.

The path variable don't exist here, it's destination_path.