Adding sites from Hub fails if folder path contains uppercase characters.

I have many sites on my server that are in subfolders. However, if the directory path contains uppercase characters, then auto-installing the dashboard plugin via Hub will always fail.

So I can auto-install fine if the structure is but it always fails if the path is /WordPress