Works perfectly fine if you are on a case-sensitive file system.
On a case-insensitive it is maybe little surprising that such a constellation makes problems.
It might make sense to better support this or not, but you should probably report this as issue if there is none yet.