Fix crash when copying an invalid file
requested to merge dezelin/nautilus:#2376_nullpointererroringet_basename()whichleadstocrashwhenpasteazipformatfileinubuntu22.04 into master
#2376 (closed) null pointer error in get_basename() which leads to crash when paste a zip format file in ubuntu 22.04
nautilus-file-operations: A call to glib function g_file_get_basename() returns NULL when the file name can't be parsed.
I have made a fix which checks if the function g_file_get_basename() returns NULL and handle it accordingly.
For the provided Python test application we are now showing the following dialog:
Fixes #2376 (closed)