a68fd25982
If an import alias is involved, they could be not identical. Since an import alias ends with a simple identifer, we can simply drop the first segment of qualified access and try the assertion again.