When we tried to copy a link for an unsaved file, the filepath was Untitled-1 and our logic expected that this is a file within the repository.
Untitled-1
This MR handles the edge case and shows a warning.