Just happened the same to me and I couldn’t package for the same reason.
I solved it deleting the file (even if it doesn’t appear inside the content browser) in the explorer/finder. After that open the project again and it will be displayed in red.
Then right click on it and “Remove Selected Level”.
My problem was solved with that.
Hope it helps!

