Fix checking for EmbeddedResource using InMemoryVirtualPathProvider