Also check if the source path is valid for rename and copy operations